//
//  HLCustomAttachmentInfo.h
//  YueYue
//
//  Created by hulu001 on 2023/6/12.
//

#import <Foundation/Foundation.h>
#import <NIMSDK/NIMSDK.h>

#ifndef HLCustomAttachmentInfo_h
#define HLCustomAttachmentInfo_h

@protocol HLCustomAttachmentInfo <NSObject>

@optional

- (NSString *)cellContent:(NIMMessage *)message;

- (CGSize)contentSize:(NIMMessage *)message cellWidth:(CGFloat)width;

- (UIEdgeInsets)cellInsets:(NIMMessage *)message;

- (UIEdgeInsets)contentViewInsets:(NIMMessage *)message;

- (NSString *)formatedMessage;

- (UIImage *)showCoverImage;

- (BOOL)shouldShowAvatar:(NIMMessage *)message;


@end

#endif /* HLCustomAttachmentInfo_h */
